namespace Arcane.Source.Combat
{
    public enum DamageType
    {
        Common, Magical
    }

    public static class DamageTypeExt
    {
        public static DamageType Parse(string type)
        {
            return type switch
            {
                "common" => DamageType.Common,
                "magic" => DamageType.Magical,
                _ => DamageType.Common,
            };
        }
    }
}